package com.etime.shycourse.filterMsg;

import java.io.Serializable;

/**
 * @ClassName : filterMsgData  //类名
 * @Description : 消息过滤的表单数据  //描述
 * @Author : W //作者
 * @Date: 2022/3/8  11:32
 */
public class FilterMsgData implements Serializable {

    private static final long serialVersionUID = 1L;

    // 接口版本号，2.0版本为固定值2
    private Integer version;
    // 用户的openid（用户需在近两小时访问过小程序）
    private String openid;
    // 需检测的文本内容，文本字数的上限为2500字，需使用UTF-8编码
    private String content;
    // 场景枚举值（1 资料；2 评论；3 论坛；4 社交日志）
    private Integer scene;

    @Override
    public String toString() {
        return "FilterMsgData{" +
                +'\'' +
                ", version=" + version +
                ", openid='" + openid + '\'' +
                ", content='" + content + '\'' +
                ", scene=" + scene +
                '}';
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getScene() {
        return scene;
    }

    public void setScene(int scene) {
        this.scene = scene;
    }
}

